From 4db27a4b7ac9a8b0a3f2aa25a7795ff8731281b3 Mon Sep 17 00:00:00 2001 From: "mjw@wray-m-3.hpl.hp.com" Date: Tue, 29 Jun 2004 14:50:09 +0000 Subject: [PATCH] bitkeeper revision 1.1026.1.7 (40e181a1MSs1SYetts2irHVdBHHmDQ) Fix backend type detection. --- tools/xen/lib/xend/XendDomainInfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/xen/lib/xend/XendDomainInfo.py b/tools/xen/lib/xend/XendDomainInfo.py index 50fcf26fe2..a7e5aa3b2f 100644 --- a/tools/xen/lib/xend/XendDomainInfo.py +++ b/tools/xen/lib/xend/XendDomainInfo.py @@ -626,7 +626,7 @@ class XendDomainInfo: """Set configuration flags if the vm is a backend for netif of blkif. """ for c in sxp.children(self.config, 'backend'): - name = sxp.name(c) + name = sxp.name(sxp.child0(c)) if name == 'blkif': self.blkif_backend = 1 elif name == 'netif': -- 2.30.2